From 450585db889743803632e821024cbc4a0ab98de0 Mon Sep 17 00:00:00 2001 From: Philip Tzou Date: Mon, 20 Apr 2009 04:29:35 +0000 Subject: [PATCH] Enabled LanguageConverter on CachedNotice to get a correct output. --- includes/GlobalFunctions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 964213c59c..bf93bbbbfb 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1963,7 +1963,8 @@ function wfGetCachedNotice( $name ) { } wfProfileOut( $fname ); - return $notice; + global $wgContLang; + return $wgContLang->convert( $notice ); } function wfGetNamespaceNotice() { -- 2.20.1